package cn.miwu52.homeworkerp.bean;

//仓库实体
public class Entrepot {
    private Integer id;//仓库id
    private String entrepotName;//仓库名称
    private Integer productSum;//商品数量

    public Entrepot() {
    }

    public Entrepot(Integer id, String entrepotName, Integer productSum) {
        this.id = id;
        this.entrepotName = entrepotName;
        this.productSum = productSum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEntrepotName() {
        return entrepotName;
    }

    public void setEntrepotName(String entrepotName) {
        this.entrepotName = entrepotName;
    }

    public Integer getProductSum() {
        return productSum;
    }

    public void setProductSum(Integer productSum) {
        this.productSum = productSum;
    }

    @Override
    public String toString() {
        return "EntrepotView{" +
                "id=" + id +
                ", entrepotName='" + entrepotName + '\'' +
                ", productSum=" + productSum +
                '}';
    }
}
